#include"Queue.h"

void test()
{
	QU* a = (QU*)malloc(sizeof(QU));
	if (a == NULL)
	{
		perror("malloc fail");
		return;
	}
	INIQnode(a);
	Queuepush(a, 1);
	Queuepush(a, 2);
	Queuepush(a, 3);
	Queuepush(a, 4);
	Queuepush(a, 5);
	Queueprint(a);

	
	Queuepop(a);
	Queueprint(a);

	int ret = Queueback(a);
	int num = Queuefront(a);
	int size = sizeQueue(a);
	printf("%d %d %d", ret, num,size);

}



int main()
{
	test();
	return 0;
}